package com.example.demo.service;

import com.example.demo.common.entity.JsonResult;
import com.example.demo.entity.User;

/**
 * Created by Mojo on 2017/8/30.
 */
public interface UserService {

	public User getUser(String username) throws Exception;

	public JsonResult addUser(User user) throws Exception;

	JsonResult getAllUser(int pageNum, int pageSize) throws  Exception;
}
